#include <stdio.h>

int 
main(void)
{
    int day, month, year;

    puts("Enter a date (mm/dd/yyyy):");
    scanf("%d/%d/%d", &month, &day, &year);

    printf("You entered the date: %.4d%.2d%.2d\n", year, month, day);

    return 0;
}
